from langchain_community.llms import Tongyi

llm = Tongyi()
result = llm.invoke("What NFL team won the Super Bowl in the year Justin Bieber was born?")
print(result)

from langchain_community.embeddings import HuggingFaceEmbeddings
embeddings = HuggingFaceEmbeddings(model_name='infgrad/stella-base-zh-v3-1792d')
text = "这是一篇测试文档。"
query_result = embeddings.embed_query(text)
print(query_result[:3])
